Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] Accept environments as parameters when executing PicocliRunner #362

Merged
merged 1 commit into from
Mar 28, 2024
Merged

[feature] Accept environments as parameters when executing PicocliRunner #362

merged 1 commit into from
Mar 28, 2024

Conversation

FrogDevelopper
Copy link
Contributor

When running our Micronaut CLI in a CronJob, we want to keep our distributed configurations, based with profiles (environments) and so need to pass them to the ApplicationContext along the default CLI

@CLAassistant
Copy link

CLAassistant commented Mar 27, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not able to run this class test locally, as I get the error

No matching tests found in any candidate test task.
Requested tests:
Test pattern io.micronaut.configuration.picocli.PicocliRunnerTest in task :micronaut-picocli:test

Hoping it is run in the GitHub action

@graemerocher graemerocher added the type: enhancement New feature or request label Mar 27, 2024
@sdelamo sdelamo merged commit 5fa99de into micronaut-projects:master Mar 28, 2024
6 checks passed
@FrogDevelopper FrogDevelopper deleted the feature/extended_runner branch March 28, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants